package org.lc.cmd.connect;

import org.jline.utils.AttributedString;
import org.lc.cmd.CmdRequest;
import org.lc.cmd.model.ConfirmData;
import org.lc.cmd.model.StyledString;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import java.util.function.Function;

public interface ClientRequest extends CmdRequest {
    void setConfirmHandler(Function<ConfirmData, String> confirmHandler);

    CompletableFuture<StyledString> send();
}
